package com.demo.mqtt.picker.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.demo.mqtt.common.BaseConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

/**
 * @program: mqtt
 * @description: 数采器关联测点信息
 * @author: liuYunKai
 * @create: 2021-03-30 14:40
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class PickerInfoRelPoint  extends BaseConvert implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "数采器ID")
    private String pickerId;

    @ApiModelProperty(value = "测点ID")
    private String pointId;

    @ApiModelProperty(value = "测点SN")
    private String pointSn;

    @ApiModelProperty(value = "测点名称")
    private String pointName;

    @ApiModelProperty(value = "是否测温 0否1是")
    private Integer isTemperature;

    @ApiModelProperty(value = "是否删除")
    @TableLogic
    private Integer deleted;
}
